package impl;



import mylogger.MyLoggerFactory;

import org.slf4j.ILoggerFactory;
import org.slf4j.spi.LoggerFactoryBinder;



public class StaticLoggerBinder implements LoggerFactoryBinder {

	private final static StaticLoggerBinder THIS = new StaticLoggerBinder();
	
	private static final String myLoggerFactoryClassStr = MyLoggerFactory.class.getName();
	
	public static StaticLoggerBinder getSingleton(){
		return THIS;
	}
	
	@Override
	public ILoggerFactory getLoggerFactory() {
		return new MyLoggerFactory();
	}

	@Override
	public String getLoggerFactoryClassStr() {
		return myLoggerFactoryClassStr;
	}

}
